package com.mdx.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 病害
 */
@TableName("t_disease")
public class DiseaseBean {
    /**
     * 主键
     */
    @TableId(value = "pk_diseaseId",type = IdType.AUTO)
    private int diseaseId;

    /**
     * 病害名
     */
    @TableField("f_diseaseName")
    private String diseaseName;

    /**
     * 病原
     */
    @TableField("f_original")
    private String original;

    /**
     * 发病症状
     */
    @TableField("f_onsetSigns")
    private String onsetSigns;

    /**
     * 发病规律
     */
    @TableField("f_onsetLaw")
    private String onsetLaw;

    /**
     * 病毒症状图片
     */
    @TableField("f_diseaseImg")
    private String diseaseImg;

    /**
     * 病毒防治措施
     */
    @TableField("f_diseasePrevention")
    private String diseasePrevention;

    /**
     * 病害危害
     */
    @TableField("f_diseaseHarm")
    private String diseaseHarm;

    @Override
    public String toString() {
        return "DiseaseBean{" +
                "diseaseId=" + diseaseId +
                ", diseaseName='" + diseaseName + '\'' +
                ", original='" + original + '\'' +
                ", onsetSigns='" + onsetSigns + '\'' +
                ", onsetLaw='" + onsetLaw + '\'' +
                ", diseaseImg='" + diseaseImg + '\'' +
                ", diseasePrevention='" + diseasePrevention + '\'' +
                ", diseaseHarm='" + diseaseHarm + '\'' +
                '}';
    }

    public int getDiseaseId() {
        return diseaseId;
    }

    public void setDiseaseId(int diseaseId) {
        this.diseaseId = diseaseId;
    }

    public String getDiseaseName() {
        return diseaseName;
    }

    public void setDiseaseName(String diseaseName) {
        this.diseaseName = diseaseName;
    }

    public String getOriginal() {
        return original;
    }

    public void setOriginal(String original) {
        this.original = original;
    }

    public String getOnsetSigns() {
        return onsetSigns;
    }

    public void setOnsetSigns(String onsetSigns) {
        this.onsetSigns = onsetSigns;
    }

    public String getOnsetLaw() {
        return onsetLaw;
    }

    public void setOnsetLaw(String onsetLaw) {
        this.onsetLaw = onsetLaw;
    }

    public String getDiseaseImg() {
        return diseaseImg;
    }

    public void setDiseaseImg(String diseaseImg) {
        this.diseaseImg = diseaseImg;
    }

    public String getDiseasePrevention() {
        return diseasePrevention;
    }

    public void setDiseasePrevention(String diseasePrevention) {
        this.diseasePrevention = diseasePrevention;
    }

    public String getDiseaseHarm() {
        return diseaseHarm;
    }

    public void setDiseaseHarm(String diseaseHarm) {
        this.diseaseHarm = diseaseHarm;
    }

    public DiseaseBean() {
    }

    public DiseaseBean(String diseaseName, String original, String onsetSigns, String onsetLaw, String diseaseImg, String diseasePrevention, String diseaseHarm) {
        this.diseaseName = diseaseName;
        this.original = original;
        this.onsetSigns = onsetSigns;
        this.onsetLaw = onsetLaw;
        this.diseaseImg = diseaseImg;
        this.diseasePrevention = diseasePrevention;
        this.diseaseHarm = diseaseHarm;
    }
}
